﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Apex.Common.MVVM;

namespace Apex.Common.Base.ViewModels
{
    public class TrackableObjectViewModel<T> : ViewModel<T>
        where T : TrackableObject
    {
        public int ID
        {
            get { return Model.ID; }
            set { Model.ID = value; OnPropertyChanged("ID"); }
        }

        public TrackableObjectViewModel()
        {

        }

        public TrackableObjectViewModel(T model)
            : base(model)
        {

        }
    }
}
